package ventanas;

import javax.swing.JPanel;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JTextField;
import javax.swing.JCheckBox;

public class Cabecera extends JPanel {
	private JTextField textField;

	/**
	 * Create the panel.
	 */
	public Cabecera() {
		
		JButton btnNewButton = new JButton("Youtube");
		btnNewButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
			}
		});
		add(btnNewButton);
		
		JButton button = new JButton("<");
		add(button);
		
		JButton button_1 = new JButton(">");
		add(button_1);
		
		textField = new JTextField("Texto a buscar");
		add(textField);
		textField.setColumns(10);
		
		JCheckBox chckbxTema = new JCheckBox("Tema");
		add(chckbxTema);
		
		JButton btnBuscar = new JButton("Buscar");
		add(btnBuscar);

	}

}
